package com.zhentao.file.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/*
 *云计算
 *魏子纹
 *2025/6/10
 */
@Data
@ConfigurationProperties(prefix = "minio") //该注解用于将配置文件中以 minio 为前缀的属性自动绑定到当前类的字段上，实现配置与Java对象的映射
// minio.accesskey ...
public class MinioconfigProperties {
    private String accessKey;
    private String secretKey;
    private String endpoint;
    private String bucket;
}
